package com.java110.dto.product;

import com.java110.dto.distributionMode.DistributionModeDto;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @ClassName FloorDto
 * @Description 产品数据层封装
 * @Author wuxw
 * @Date 2019/4/24 8:52
 * @Version 1.0
 * add by wuxw 2019/4/24
 **/
public class ProductDto extends ProductActivityDto implements Serializable {

    public static final String STATE_OFF = "1001";//未上架
    public static final String STATE_ON = "2002";//已上架

   // 状态（1001：未上架，2002：上架）

    private String productId;
    private String unitName;
    private String isPostage;
    private String sort;
    private String storeId;
    private String shopId;
    private String shopName;
    private String barCode;
    private String barCodeLike;
    private String shId;
    private String shName;
    private String postage;
    private String prodName;
    private String prodNameLike;
    private String state;
    private String stateName;
    private String keyword;
    private String prodDesc;
    private String categoryId;
    private String cateType;
    private String categoryName;
    private String price;
    private String valueId;
    private String[] valueIds;
    private String warnStock;
    private String warnFlag;
    private String areaCode;
    private String specId;
    private String specName;
    private String content;

    private String coverPhoto;

    private String stock;
    private String sales;

    private long inCount;

    private long outCount;
    private String modeId;
    private String modeName;
    private String costPrice;
    private String vipPrice;
    private String otPrice;
    private String ownerPrice;
    private  String deduction;

    private String extProdId;
    private String extValueId;
    private String suType;
    private String hktId;

    private String csId;

    private String groupId;
    private String groupPrice;
    private String userCount;
    private String groupStartTime;
    private String groupEndTime;


    //秒杀相关
    private String killPrice;
    private String continueHours;
    private String killStartTime;
    private String killEndTime;
    private String curKillEndTime;
    private String killId;
    private String oneCount;
    private String totalCount;
    private String killHours;

    private String pageUrl;


    private List<String> carouselFigurePhotos;

    private List<ProductSpecValueDto> productSpecValues;

    private List<DistributionModeDto> distributionModeDtos;

    private ProductSpecDto productSpec;

    private ProductSpecDetailDto productSpecDetail;

    private ProductSpecValueDto defaultSpecValue;

    private Date createTime;

    private String statusCd = "0";

    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId;
    }

    public String getUnitName() {
        return unitName;
    }

    public void setUnitName(String unitName) {
        this.unitName = unitName;
    }

    public String getIsPostage() {
        return isPostage;
    }

    public void setIsPostage(String isPostage) {
        this.isPostage = isPostage;
    }

    public String getSort() {
        return sort;
    }

    public void setSort(String sort) {
        this.sort = sort;
    }

    public String getStoreId() {
        return storeId;
    }

    public void setStoreId(String storeId) {
        this.storeId = storeId;
    }

    public String getBarCode() {
        return barCode;
    }

    public void setBarCode(String barCode) {
        this.barCode = barCode;
    }

    public String getBarCodeLike() {
        return barCodeLike;
    }

    public void setBarCodeLike(String barCodeLike) {
        this.barCodeLike = barCodeLike;
    }

    public String getPostage() {
        return postage;
    }

    public void setPostage(String postage) {
        this.postage = postage;
    }

    public String getProdName() {
        return prodName;
    }

    public void setProdName(String prodName) {
        this.prodName = prodName;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getKeyword() {
        return keyword;
    }

    public void setKeyword(String keyword) {
        this.keyword = keyword;
    }

    public String getProdDesc() {
        return prodDesc;
    }

    public void setProdDesc(String prodDesc) {
        this.prodDesc = prodDesc;
    }

    public String getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(String categoryId) {
        this.categoryId = categoryId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getStatusCd() {
        return statusCd;
    }

    public void setStatusCd(String statusCd) {
        this.statusCd = statusCd;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getCoverPhoto() {
        return coverPhoto;
    }

    public void setCoverPhoto(String coverPhoto) {
        this.coverPhoto = coverPhoto;
    }

    public List<String> getCarouselFigurePhotos() {
        return carouselFigurePhotos;
    }

    public void setCarouselFigurePhotos(List<String> carouselFigurePhotos) {
        this.carouselFigurePhotos = carouselFigurePhotos;
    }

    public List<ProductSpecValueDto> getProductSpecValues() {
        return productSpecValues;
    }

    public void setProductSpecValues(List<ProductSpecValueDto> productSpecValues) {
        this.productSpecValues = productSpecValues;
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    public String getStock() {
        return stock;
    }

    public void setStock(String stock) {
        this.stock = stock;
    }

    public String getSales() {
        return sales;
    }

    public void setSales(String sales) {
        this.sales = sales;
    }

    public String getStateName() {
        return stateName;
    }

    public void setStateName(String stateName) {
        this.stateName = stateName;
    }

    public ProductSpecValueDto getDefaultSpecValue() {
        return defaultSpecValue;
    }

    public void setDefaultSpecValue(ProductSpecValueDto defaultSpecValue) {
        this.defaultSpecValue = defaultSpecValue;
    }

    public String getShopId() {
        return shopId;
    }

    public void setShopId(String shopId) {
        this.shopId = shopId;
    }

    public String getProdNameLike() {
        return prodNameLike;
    }

    public void setProdNameLike(String prodNameLike) {
        this.prodNameLike = prodNameLike;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getValueId() {
        return valueId;
    }

    public void setValueId(String valueId) {
        this.valueId = valueId;
    }

    public ProductSpecDto getProductSpec() {
        return productSpec;
    }

    public void setProductSpec(ProductSpecDto productSpec) {
        this.productSpec = productSpec;
    }

    public ProductSpecDetailDto getProductSpecDetail() {
        return productSpecDetail;
    }

    public void setProductSpecDetail(ProductSpecDetailDto productSpecDetail) {
        this.productSpecDetail = productSpecDetail;
    }

    public String getCateType() {
        return cateType;
    }

    public void setCateType(String cateType) {
        this.cateType = cateType;
    }

    public long getInCount() {
        return inCount;
    }

    public void setInCount(long inCount) {
        this.inCount = inCount;
    }

    public long getOutCount() {
        return outCount;
    }

    public void setOutCount(long outCount) {
        this.outCount = outCount;
    }

    public String getShId() {
        return shId;
    }

    public void setShId(String shId) {
        this.shId = shId;
    }

    public String getShName() {
        return shName;
    }

    public void setShName(String shName) {
        this.shName = shName;
    }

    public String getWarnStock() {
        return warnStock;
    }

    public void setWarnStock(String warnStock) {
        this.warnStock = warnStock;
    }

    public String getWarnFlag() {
        return warnFlag;
    }

    public void setWarnFlag(String warnFlag) {
        this.warnFlag = warnFlag;
    }

    public String getModeId() {
        return modeId;
    }

    public void setModeId(String modeId) {
        this.modeId = modeId;
    }

    public String getModeName() {
        return modeName;
    }

    public void setModeName(String modeName) {
        this.modeName = modeName;
    }

    public List<DistributionModeDto> getDistributionModeDtos() {
        return distributionModeDtos;
    }

    public void setDistributionModeDtos(List<DistributionModeDto> distributionModeDtos) {
        this.distributionModeDtos = distributionModeDtos;
    }

    public String getAreaCode() {
        return areaCode;
    }

    public void setAreaCode(String areaCode) {
        this.areaCode = areaCode;
    }

    public String getSpecId() {
        return specId;
    }

    public void setSpecId(String specId) {
        this.specId = specId;
    }

    public String getSpecName() {
        return specName;
    }

    public void setSpecName(String specName) {
        this.specName = specName;
    }

    public String getCostPrice() {
        return costPrice;
    }

    public void setCostPrice(String costPrice) {
        this.costPrice = costPrice;
    }

    public String getVipPrice() {
        return vipPrice;
    }

    public void setVipPrice(String vipPrice) {
        this.vipPrice = vipPrice;
    }

    public String getOtPrice() {
        return otPrice;
    }

    public void setOtPrice(String otPrice) {
        this.otPrice = otPrice;
    }

    public String getOwnerPrice() {
        return ownerPrice;
    }

    public void setOwnerPrice(String ownerPrice) {
        this.ownerPrice = ownerPrice;
    }

    public  String getDeduction(){return deduction;}

    public  void setDeduction(String deduction){this.deduction=deduction;}

    public String[] getValueIds() {
        return valueIds;
    }

    public void setValueIds(String[] valueIds) {
        this.valueIds = valueIds;
    }

    public String getExtProdId() {
        return extProdId;
    }

    public void setExtProdId(String extProdId) {
        this.extProdId = extProdId;
    }

    public String getSuType() {
        return suType;
    }

    public void setSuType(String suType) {
        this.suType = suType;
    }

    public String getCsId() {
        return csId;
    }

    public void setCsId(String csId) {
        this.csId = csId;
    }

    public String getExtValueId() {
        return extValueId;
    }

    public void setExtValueId(String extValueId) {
        this.extValueId = extValueId;
    }

    public String getHktId() {
        return hktId;
    }

    public void setHktId(String hktId) {
        this.hktId = hktId;
    }

    public String getGroupId() {
        return groupId;
    }

    public void setGroupId(String groupId) {
        this.groupId = groupId;
    }

    public String getGroupPrice() {
        return groupPrice;
    }

    public void setGroupPrice(String groupPrice) {
        this.groupPrice = groupPrice;
    }

    public String getUserCount() {
        return userCount;
    }

    public void setUserCount(String userCount) {
        this.userCount = userCount;
    }

    public String getGroupStartTime() {
        return groupStartTime;
    }

    public void setGroupStartTime(String groupStartTime) {
        this.groupStartTime = groupStartTime;
    }

    public String getGroupEndTime() {
        return groupEndTime;
    }

    public void setGroupEndTime(String groupEndTime) {
        this.groupEndTime = groupEndTime;
    }

    public String getKillPrice() {
        return killPrice;
    }

    public void setKillPrice(String killPrice) {
        this.killPrice = killPrice;
    }

    public String getContinueHours() {
        return continueHours;
    }

    public void setContinueHours(String continueHours) {
        this.continueHours = continueHours;
    }

    public String getKillStartTime() {
        return killStartTime;
    }

    public void setKillStartTime(String killStartTime) {
        this.killStartTime = killStartTime;
    }

    public String getKillEndTime() {
        return killEndTime;
    }

    public void setKillEndTime(String killEndTime) {
        this.killEndTime = killEndTime;
    }

    public String getKillId() {
        return killId;
    }

    public void setKillId(String killId) {
        this.killId = killId;
    }

    public String getOneCount() {
        return oneCount;
    }

    public void setOneCount(String oneCount) {
        this.oneCount = oneCount;
    }

    public String getTotalCount() {
        return totalCount;
    }

    public void setTotalCount(String totalCount) {
        this.totalCount = totalCount;
    }

    public String getKillHours() {
        return killHours;
    }

    public void setKillHours(String killHours) {
        this.killHours = killHours;
    }

    public String getCurKillEndTime() {
        return curKillEndTime;
    }

    public void setCurKillEndTime(String curKillEndTime) {
        this.curKillEndTime = curKillEndTime;
    }

    public String getPageUrl() {
        return pageUrl;
    }

    public void setPageUrl(String pageUrl) {
        this.pageUrl = pageUrl;
    }

    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }
}
